package capi 
{
	import flash.external.ExternalInterface;
	import flash.net.FileReference;
	/**
	 * 存盘
	 * @author anod
	*/
	public function saveFile( fileurl:String, content:String ):void
	{
		if ( CONFIG::debug )
		{
			new FileReference().save( content, fileurl );
		}
		else ExternalInterface.call( "saveFile", fileurl, content );
	}
}
